<?php

namespace Acme\PersonBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Acme\PersonBundle\Entity\Personimage
 *
 * @ORM\Table(name="personimages")
 * @ORM\Entity(repositoryClass="Acme\PersonBundle\Entity\PersonimageRepository")
 */
class Personimage {
	
	/**
	 * @ORM\Column(type="integer")
	 * @ORM\Id
	 * @ORM\GeneratedValue(strategy="AUTO")
	 */
	protected $id;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $image;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $path;
	
	/**
	 * @ORM\Column(type="string", length=255)
	 */
	protected $title;
	
	/**
	 * @ORM\Column(type="text")
	 */
	protected $description;
	
	/**
	 * @ORM\Column(type="integer")
	 */
	protected $person_id;
	
	/**
	 * @ORM\ManyToOne(targetEntity="Person",inversedBy="personimages")
	 * @ORM\JoinColumn(name="person_id", referencedColumnName="id")
	 */
	protected $person;
	
	/**
	 * @ORM\Column(type="integer")
	 */
	protected $standart;
	
	/**
	 * Get id
	 *
	 * @return integer
	 */
	public function getId() {
		return $this->id;
	}
	
	/**
	 * Set image
	 *
	 * @param string $image        	
	 * @return Personimage
	 */
	public function setImage($image) {
		$this->image = $image;
		
		return $this;
	}
	
	/**
	 * Get image
	 *
	 * @return string
	 */
	public function getImage() {
		return $this->image;
	}
	
	/**
	 * Set title
	 *
	 * @param string $title        	
	 * @return Personimage
	 */
	public function setTitle($title) {
		$this->title = $title;
		
		return $this;
	}
	
	/**
	 * Get title
	 *
	 * @return string
	 */
	public function getTitle() {
		return $this->title;
	}
	
	/**
	 * Set description
	 *
	 * @param string $description        	
	 * @return Personimage
	 */
	public function setDescription($description) {
		$this->description = $description;
		
		return $this;
	}
	
	/**
	 * Get description
	 *
	 * @return string
	 */
	public function getDescription() {
		return $this->description;
	}
	
	/**
	 * Set person
	 *
	 * @param integer $person        	
	 * @return Personimage
	 */
	public function setPerson($person) {
		$this->person = $person;
		
		return $this;
	}
	
	/**
	 * Get person
	 *
	 * @return integer
	 */
	public function getPerson() {
		return $this->person;
	}
	
	/**
	 * Set standart
	 *
	 * @param integer $standart        	
	 * @return Personimage
	 */
	public function setStandart($standart) {
		$this->standart = $standart;
		
		return $this;
	}
	
	/**
	 * Get standart
	 *
	 * @return integer
	 */
	public function getStandart() {
		return $this->standart;
	}
	
	/**
	 * Set path
	 *
	 * @param string $path        	
	 * @return Personimage
	 */
	public function setPath($path) {
		$this->path = $path;
		
		return $this;
	}
	
	/**
	 * Get path
	 *
	 * @return string
	 */
	public function getPath() {
		return $this->path;
	}
	
	/**
	 * Set person_id
	 *
	 * @param integer $personId        	
	 * @return Personimage
	 */
	public function setPersonId($personId) {
		$this->person_id = $personId;
		
		return $this;
	}
	
	/**
	 * Get person_id
	 *
	 * @return integer
	 */
	public function getPersonId() {
		return $this->person_id;
	}
}